package com.atgugui.eduorder.client;

import com.atgugui.commonutils.ordervo.CourseWebVoOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Edu中的模块远程调用接口
 */
@Component
@FeignClient("service-edu")
public interface EduClient {

    @GetMapping("/eduservice/cousrefront/getCourseInfo/{courseId}")
    CourseWebVoOrder getCourseInfo(@PathVariable("courseId") String courseId);

}
